package fi.foyt.cs.persistence.domainmodel.task;

import javax.persistence.Cacheable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

import com.google.appengine.api.datastore.Key;

@Entity
@Cacheable
public class GeneralTaskLevelCategory {

  public Key getId() {
    return id;
  }
  
  public Long getGeneralTaskLevelId() {
    return generalTaskLevelId;
  }
  
  public void setGeneralTaskLevelId(Long generalTaskLevelId) {
    this.generalTaskLevelId = generalTaskLevelId;
  }
  
  public Long getSceneCategoryId() {
    return sceneCategoryId;
  }
  
  public void setSceneCategoryId(Long sceneCategoryId) {
    this.sceneCategoryId = sceneCategoryId;
  }

  @Id
  @GeneratedValue(strategy = GenerationType.IDENTITY)
  private Key id;
  
  @Column (nullable = false)
  private Long generalTaskLevelId;

  @Column (nullable = false)
  private Long sceneCategoryId;
}
